package org.fly.service;

import org.fly.bean.SCLR;
import org.fly.bean.query.SCLRQuery;
import org.fly.bean.common.BusinessException;
import org.fly.bean.warpper.SCLRWarpper;

import java.util.List;

/**
* Created by autoCode on 2018-02-19 21:08:45.
*/
public interface SCLRService {

    List<SCLR> list(SCLRQuery query);

    List<SCLRWarpper> listWarpper(SCLRQuery query);

    long count(SCLRQuery query);

    SCLR findById(String id);


    void save(SCLR bean)  throws BusinessException;

    void delete(String id);

}
